.openapi-explorer__dropzone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px dashed var(--openapi-monaco-border-color);
  background-color: var(--openapi-input-background);

  width: 100%;
  border-radius: 4px;
  padding: var(--ifm-pre-padding);
  font-size: var(--ifm-code-font-size);

  &:hover {
    border: 2px dashed var(--ifm-color-primary);
    background: linear-gradient(
        var(--openapi-dropzone-hover-shim),
        var(--openapi-dropzone-hover-shim)
      ),
      linear-gradient(var(--ifm-color-primary), var(--ifm-color-primary));

    .openapi-explorer__dropzone-content {
      color: var(--ifm-pre-color);
    }
  }
}

.openapi-explorer__dropzone-hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px dashed var(--openapi-monaco-border-color);
  background-color: var(--openapi-input-background);
  width: 100%;
  border-radius: 4px;
  padding: var(--ifm-pre-padding);
  font-size: var(--ifm-code-font-size);
  border: 2px dashed var(--ifm-color-primary);

  background: linear-gradient(
      var(--openapi-dropzone-hover-shim),
      var(--openapi-dropzone-hover-shim)
    ),
    linear-gradient(var(--ifm-color-primary), var(--ifm-color-primary));

  .openapi-explorer__dropzone-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: var(--ifm-pre-padding) 0;
    color: var(--ifm-pre-color);
  }

  .openapi-explorer__file-name {
    margin: 0 calc(var(--ifm-pre-padding) * 1.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
}

.openapi-explorer__dropzone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--ifm-pre-padding) 0;
  color: var(--openapi-dropzone-color);
}
